package com.wanxi.javabean;

public class DrinkWaterMachine {
    /**
     * 1.设置属性
     * 2.构造方法
     * 3.set/get
     */
    private String brand;
    private String color;
    private byte volume;
    private String model;

    public DrinkWaterMachine() {
    }

    public DrinkWaterMachine(String brand, String color, byte volume, String model) {
        this.brand = brand;
        this.color = color;
        this.volume = volume;
        this.model = model;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public byte getVolume() {
        return volume;
    }

    public void setVolume(byte volume) {
        this.volume = volume;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    @Override
    public String toString() {

        return "DrinkWaterMachine{" +
                "brand='" + brand + '\'' +
                ", color='" + color + '\'' +
                ", volume=" + volume +
                ", model='" + model + '\'' +
                '}';
    }
}
